package cn.geodata.dataview.action;

import org.apache.log4j.Logger;

import cn.geodata.dataview.Fire;
import cn.geodata.dataview.FireFactory;

public class ImageList {
	private static Logger Log = Logger.getLogger(ImageList.class);
	
	private Fire[] fires;

	public Fire[] getFires() {
		return fires;
	}
	
	public String execute() throws Exception {
		this.fires = (new FireFactory()).list().toArray(new Fire[0]);
		
		return "success";
	}
}
